package com.fire.control.system.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

import com.fire.control.system.statics.Status_Public;

/**
 * 补签实体类
 * TDutyResign entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_duty_resign", catalog = "fire_control_system")
public class DutyResign extends BaseEntity {

	private static final long serialVersionUID = 1L;
	private String userId;
	private Date resignDate;
	private String resignContent;
	private String companyId;
	
	private String auditUserId;
	
	@Column(name = "resign_status", nullable = false,length=20)
	@Enumerated(EnumType.STRING)
	private Status_Public resignStatus;
	

	@Column(name = "user_id", nullable = false, length = 36)
	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Column(name = "resign_date", nullable = false, length = 0)
	public Date getResignDate() {
		return this.resignDate;
	}

	public void setResignDate(Date resignDate) {
		this.resignDate = resignDate;
	}

	@Column(name = "resign_content")
	public String getResignContent() {
		return this.resignContent;
	}

	public void setResignContent(String resignContent) {
		this.resignContent = resignContent;
	}

	public Status_Public getResignStatus() {
		return resignStatus;
	}

	public void setResignStatus(Status_Public resignStatus) {
		this.resignStatus = resignStatus;
	}

	@Column(name = "company_id", nullable = false, length = 36)
	public String getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	@Column(name = "audit_user_id", nullable = false, length = 36)
	public String getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(String auditUserId) {
		this.auditUserId = auditUserId;
	}

}